package com.qf.smartplatform.service.impl;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.qf.smartplatform.pojo.Device;
import com.qf.smartplatform.service.DeviceService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.concurrent.ExecutionException;

/**
 * projectName:day12_27_Test
 * author:guoLei
 * time:2022/1/7 19:25
 * description:
 */
@Service
@Transactional
public class DeviceServiceImpl implements DeviceService {
    @Override
    public void addDevice(Device device) throws ExecutionException {

    }

    @Override
    public Device findById(String id) {
        return null;
    }

    @Override
    public void sendControl(String id, String command) throws JsonProcessingException {

    }

    @Override
    public void updateDeviceOnlineStaus(Device device) {

    }
}
